package org.itheima.game.org.tank.game.business

import org.itheima.game.org.tank.game.model.View

/**
 * description ： 攻击
 * author : chenmengjia
 * email : cmjsp1990@163.com
 * date : 2020/3/14 20:18
 */
interface Attackable : View {
    /**
     * 所有者，自己不能攻击自己
     */
    var owner: View
    var attackPower: Int
    fun isCollision(suffer: Sufferable): Boolean
    fun notifyAttack(suffer: Sufferable)
}